﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Abp.Extensions;
using LeadThing.AbpZeroTemplate.AssessmentReports;

namespace LeadThing.AbpZeroTemplate.AssessmentReports.Dtos
{
    /// <summary>
    /// 评估报告报备情况编辑用Dto
    /// </summary>
    [AutoMap(typeof(AssessmentReport))]
    public class AssessmentReportEditDto
    {

        /// <summary>
        ///   主键Id
        /// </summary>
        [DisplayName("主键Id")]
        public long? Id { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [DisplayName("项目名称")]
        [Required]
        [MaxLength(100)]
        public string ProjectTitle { get; set; }

        /// <summary>
        /// 评估单位
        /// </summary>
        [DisplayName("评估单位")]
        [Required]
        [MaxLength(500)]
        public string AssUnit { get; set; }

        /// <summary>
        /// 评估结论
        /// </summary>
        [DisplayName("评估结论")]
        [MaxLength(500)]
        public string AssConclusion { get; set; }

        /// <summary>
        /// 文件ID
        /// </summary>
        [DisplayName("文件ID")]
        [Required]
        public int FileID { get; set; }

        /// <summary>
        /// 镇
        /// </summary>
        [DisplayName("镇")]
        [Required]
        public int TownID { get; set; }

        /// <summary>
        /// 区
        /// </summary>
        [DisplayName("区")]
        [Required]
        public int AreaID { get; set; }

        /// <summary>
        /// 村庄
        /// </summary>
        [DisplayName("村庄")]
        [Required]
        public int VillageID { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        [MaxLength(500)]
        public string Remarks { get; set; }

    }
}
